<template>
  <el-menu default-active="2" class="el-menu-vertical-demo" @open="handleOpen" @close="handleClose">
    <el-menu-item index="2">
      <span @click="$router.push('/index/schoolManagement/schoolOverview')">学校概览</span>
    </el-menu-item>

  </el-menu>
</template>
  
<script  setup>
import { useRouter } from 'vue-router'

var router = useRouter()


  // const handleOpen = (key ,keyPath) => {
  //   console.log(key, keyPath)
  // }
  // const handleClose = (key, keyPath) => {
  //   console.log(key, keyPath)
  // }
</script>
<style scoped>
element.style {
  padding-left: 20px;
}

.tao {
  margin-left: 0px;
}

.el-sub-menu .el-menu-item {
  padding: 0px;
  min-width: 160px;
}
</style>